<div class="margin_t">

<?php echo zen_draw_form('email_friend', zen_href_link(FILENAME_TELL_A_FRIEND, 'action=process&products_id=' . $_GET['products_id'])); ?>

<div class="title_bg margin_t"><h2>Tell A Friends</h2></div>
<?php if ($messageStack->size('friend') > 0) echo $messageStack->output('friend'); ?>
<fieldset class="dark_border margin_t">
<legend><b><?php echo sprintf(HEADING_TITLE, $product_info->fields['products_name']); ?></b></legend>
<div class="blue_bg pad_10px"><?php echo FORM_REQUIRED_INFORMATION; ?></div>
<br class="clear" />

<label class="inputLabel" for="from-name"><?php echo FORM_FIELD_CUSTOMER_NAME. '&nbsp;<span class="red">' . ENTRY_FIRST_NAME_TEXT . '</span>'; ?></label>
<?php echo '<br/>'.zen_draw_input_field('from_name','','id="from-name" class="l_input"') ; ?>
<br class="clear" />

<label class="inputLabel" for="from-email-address"><?php echo FORM_FIELD_CUSTOMER_EMAIL. '&nbsp;<span class="red">' . ENTRY_EMAIL_ADDRESS_TEXT . '</span>'; ?></label>
<?php echo '<br/>'.zen_draw_input_field('from_email_address','','id="from-email-address" class="l_input"') ; ?>
<br class="clear" />

<label class="inputLabel" for="to-name"><?php echo FORM_FIELD_FRIEND_NAME . '&nbsp;<span class="red">' . ENTRY_FIRST_NAME_TEXT . '</span>'; ?></label>
<?php echo '<br/>'.zen_draw_input_field('to_name', '', 'id="to-name" class="l_input"'); ?>
<br class="clear" />

<label class="inputLabel" for="to-email-address"><?php echo FORM_FIELD_FRIEND_EMAIL. '&nbsp;<span class="red">' . ENTRY_EMAIL_ADDRESS_TEXT . '</span>'; ?></label>
<?php echo '<br/>'.zen_draw_input_field('to_email_address', $_GET['to_email_address'], 'id="to-email-address" class="l_input"') ; ?>
<br class="clear" />

<label for="email-message"><?php echo FORM_TITLE_FRIEND_MESSAGE; ?></label>
<?php echo '<br/>'.zen_draw_textarea_field('message', 30, 5, '', 'id="email-message" class="textarea1"'); ?>
<br class="clear" />
</fieldset>

<div class="pad_10px fl" style="width:300px;"><?php echo '<a href="' . zen_href_link(zen_get_info_page($_GET['products_id']), 'products_id=' . $_GET['products_id']) . '">' . zen_image_button(BUTTON_IMAGE_BACK, BUTTON_BACK_ALT) . '</a>'; ?></div>
<div class="pad_10px fl" style="width:100px;"><?php echo zen_image_submit(BUTTON_IMAGE_SEND, BUTTON_SEND_ALT); ?></div>
<br class="clear" />

<div class="pad_10px gray_bg"><?php echo EMAIL_ADVISORY_INCLUDED_WARNING . str_replace('-----', '', EMAIL_ADVISORY); ?></div>

</form>
</div>